<?php
namespace Menory\Unit\Validation;

use Menory\Standard\Error;

class ValidationError extends Error {

    const VALIDATOR_ERROR_CODE = 20000;

    /**
     * ValidationError constructor.
     * @param $message
     * @param $code
     */
    public function __construct($message, $code = self::VALIDATOR_ERROR_CODE) {

        parent::__construct($message, $code);

    }

}